<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs">
<head>
<title>ASCII 码表</title>
<meta charset="UTF-8">
<meta name="generator" content="MediaWiki 1.21.2">
<link rel="shortcut icon" href="../../../common/favicon.ico">
<link rel="stylesheet" href="../../../common/ext.css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" href="../../../common/site_modules.css">
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}#toc{display:none}.editsection{display:none}
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-css:7:15cea3ec788a65b5187d4018eed543bf */</style>

<script src="../../../common/startup_scripts.js"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"cpp/language/ascii","wgTitle":"cpp/language/ascii","wgCurRevisionId":62719,"wgArticleId":842,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgBreakFrames":false,"wgPageContentLanguage":"zh","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgMonthNamesShort":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRelevantPageName":"cpp/language/ascii","wgUserVariant":"zh","wgRestrictionEdit":[],"wgRestrictionMove":[]});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function(){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":0,"showtoolbar":1,"skin":"cppreference2","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"zh","language":"zh","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"gadget-MathJax":1,"gadget-ColiruCompiler":1});;},{},{});mw.loader.implement("user.tokens",function(){mw.user.tokens.set({"editToken":"+\\","patrolToken":false,"watchToken":false});;},{},{});
/* cache key: mwiki1-mwiki_zh_:resourceloader:filter:minify-js:7:258d7cd6aa9aa67dee25e01fb6a9e505 */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
}</script>
<style type="text/css">/*<![CDATA[*/
.source-cpp {line-height: normal;}
.source-cpp li, .source-cpp pre {
	line-height: normal; border: 0px none white;
}
/**
 * GeSHi Dynamically Generated Stylesheet
 * --------------------------------------
 * Dynamically generated stylesheet for cpp
 * CSS class: source-cpp, CSS id: 
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 * --------------------------------------
 */
.cpp.source-cpp .de1, .cpp.source-cpp .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.cpp.source-cpp  {font-family:monospace;}
.cpp.source-cpp .imp {font-weight: bold; color: red;}
.cpp.source-cpp li, .cpp.source-cpp .li1 {font-weight: normal; vertical-align:top;}
.cpp.source-cpp .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.cpp.source-cpp .li2 {font-weight: bold; vertical-align:top;}
.cpp.source-cpp .kw1 {color: #0000dd;}
.cpp.source-cpp .kw2 {color: #0000ff;}
.cpp.source-cpp .kw3 {color: #0000dd;}
.cpp.source-cpp .kw4 {color: #0000ff;}
.cpp.source-cpp .co1 {color: #909090;}
.cpp.source-cpp .co2 {color: #339900;}
.cpp.source-cpp .coMULTI {color: #ff0000; font-style: italic;}
.cpp.source-cpp .es0 {color: #008000; font-weight: bold;}
.cpp.source-cpp .es1 {color: #008000; font-weight: bold;}
.cpp.source-cpp .es2 {color: #008000; font-weight: bold;}
.cpp.source-cpp .es3 {color: #008000; font-weight: bold;}
.cpp.source-cpp .es4 {color: #008000; font-weight: bold;}
.cpp.source-cpp .es5 {color: #008000; font-weight: bold;}
.cpp.source-cpp .br0 {color: #008000;}
.cpp.source-cpp .sy0 {color: #008000;}
.cpp.source-cpp .sy1 {color: #000080;}
.cpp.source-cpp .sy2 {color: #000040;}
.cpp.source-cpp .sy3 {color: #000040;}
.cpp.source-cpp .sy4 {color: #008080;}
.cpp.source-cpp .st0 {color: #008000;}
.cpp.source-cpp .nu0 {color: #000080;}
.cpp.source-cpp .nu6 {color: #000080;}
.cpp.source-cpp .nu8 {color: #000080;}
.cpp.source-cpp .nu12 {color: #000080;}
.cpp.source-cpp .nu16 {color:#000080;}
.cpp.source-cpp .nu17 {color:#000080;}
.cpp.source-cpp .nu18 {color:#000080;}
.cpp.source-cpp .nu19 {color:#000080;}
.cpp.source-cpp .ln-xtra, .cpp.source-cpp li.ln-xtra, .cpp.source-cpp div.ln-xtra {background-color: #ffc;}
.cpp.source-cpp span.xtra { display:block; }

/*]]>*/
</style><style type="text/css">/*<![CDATA[*/
.source-text {line-height: normal;}
.source-text li, .source-text pre {
	line-height: normal; border: 0px none white;
}
/**
 * GeSHi Dynamically Generated Stylesheet
 * --------------------------------------
 * Dynamically generated stylesheet for text
 * CSS class: source-text, CSS id: 
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 * --------------------------------------
 */
.text.source-text .de1, .text.source-text .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.text.source-text  {font-family:monospace;}
.text.source-text .imp {font-weight: bold; color: red;}
.text.source-text li, .text.source-text .li1 {font-weight: normal; vertical-align:top;}
.text.source-text .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.text.source-text .li2 {font-weight: bold; vertical-align:top;}
.text.source-text .ln-xtra, .text.source-text li.ln-xtra, .text.source-text div.ln-xtra {background-color: #ffc;}
.text.source-text span.xtra { display:block; }

/*]]>*/
</style><!--[if lt IE 7]><style type="text/css">body{behavior:url("/mwiki/skins/cppreference2/csshover.min.htc")}</style><![endif]--></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp_language_ascii skin-cppreference2 action-view cpp-navbar">
        <!-- header -->
        <!-- /header -->
        <!-- content -->
<div id="cpp-content-base">
            <div id="content">
                <a id="top"></a>
                <div id="mw-js-message" style="display:none;"></div>
                                <!-- firstHeading -->
<h1 id="firstHeading" class="firstHeading">ASCII 码表</h1>
                <!-- /firstHeading -->
                <!-- bodyContent -->
                <div id="bodyContent">
                                        <!-- tagline -->
                    <div id="siteSub">来自cppreference.com</div>
                    <!-- /tagline -->
                                        <!-- subtitle -->
                    <div id="contentSub"><span class="subpages">&lt; <a href="../../cpp.html" title="cpp">cpp</a>‎ | <a href="../language.html" title="cpp/language">language</a></span></div>
                    <!-- /subtitle -->
                                                            <!-- bodycontent -->
                    <div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr"><div class="t-navbar" style=""><div class="t-navbar-sep"> </div><div class="t-navbar-head"><a href="../../cpp.html" title="cpp"> C++</a><div class="t-navbar-menu"><div><div><table class="t-nv-begin" cellpadding="0" style="line-height:1.1em;">
<tr class="t-nv"><td colspan="5"> <a href="../language.html" title="cpp/language">语言</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../header.html" title="cpp/header">标准库头文件</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../freestanding.html" title="cpp/freestanding"> 自立与有宿主实现</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../named_req.html" title="cpp/named req">具名要求</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../utility.html#.E8.AF.AD.E8.A8.80.E6.94.AF.E6.8C.81" title="cpp/utility">语言支持库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../concepts.html" title="cpp/concepts">概念库</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../error.html" title="cpp/error">诊断库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../utility.html" title="cpp/utility">工具库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../string.html" title="cpp/string">字符串库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="https://zh.cppreference.com/w/cpp/container" title="cpp/container">容器库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../iterator.html" title="cpp/iterator">迭代器库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../ranges.html" title="cpp/ranges"> 范围库</a> <span class="t-mark-rev t-since-cxx20">(C++20)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../algorithm.html" title="cpp/algorithm">算法库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../numeric.html" title="cpp/numeric">数值库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../io.html" title="cpp/io">输入/输出库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../locale.html" title="cpp/locale">本地化库</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../regex.html" title="cpp/regex">正则表达式库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../atomic.html" title="cpp/atomic">原子操作库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../thread.html" title="cpp/thread">线程支持库</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../filesystem.html" title="cpp/filesystem">文件系统库</a> <span class="t-mark-rev t-since-cxx17">(C++17)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../experimental.html" title="cpp/experimental">技术规范</a> </td></tr>
</table></div><div></div></div></div></div><div class="t-navbar-sep"> </div><div class="t-navbar-head"><a href="../language.html" title="cpp/language">C++ 语言</a><div class="t-navbar-menu"><div><div style="display:inline-block">
<div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv-h1"><td colspan="5"> 一般主题</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="../preprocessor.html" title="cpp/preprocessor"> 预处理器</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../comments.html" title="cpp/comment"> 注释</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="../keywords.html" title="cpp/keyword"> 关键词</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="escape.html" title="cpp/language/escape"> 转义序列</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 流程控制</td></tr>
<tr class="t-nv-h2"><td colspan="5"> 条件执行语句</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="if.html" title="cpp/language/if"> <code>if</code></a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="switch.html" title="cpp/language/switch"> <code>switch</code></a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 重复语句（循环）</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="for.html" title="cpp/language/for"> <code>for</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="range-for.html" title="cpp/language/range-for"> 范围 <code>for</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="while.html" title="cpp/language/while"> <code>while</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="do.html" title="cpp/language/do"> <code>do-while</code></a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 跳转语句 </td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="continue.html" title="cpp/language/continue"> <code>continue</code></a> - <a href="break.html" title="cpp/language/break"> <code>break</code></a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="goto.html" title="cpp/language/goto"> <code>goto</code></a> - <a href="return.html" title="cpp/language/return"> <code>return</code></a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 函数</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="function.html" title="cpp/language/function"> 函数声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="lambda.html" title="cpp/language/lambda"> Lambda 函数声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="inline.html" title="cpp/language/inline"> <code>inline</code> 说明符</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="except_spec.html" title="cpp/language/except spec"> 异常规定</a> <span class="t-mark-rev t-until-cxx20">(C++20 前)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="noexcept_spec.html" title="cpp/language/noexcept spec"> <code>noexcept</code> 说明符</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 异常</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="throw.html" title="cpp/language/throw"> <code>throw</code> 表达式</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="try_catch.html" title="cpp/language/try catch"> <code>try</code>-<code>catch</code> 块</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 命名空间</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="namespace.html" title="cpp/language/namespace"> 命名空间声明</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="namespace_alias.html" title="cpp/language/namespace alias"> 命名空间别名</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 类型</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="types.html" title="cpp/language/types"> 基础类型</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="enum.html" title="cpp/language/enum"> 枚举类型</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="function.html" title="cpp/language/function"> 函数类型</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="class.html" title="cpp/language/class"> 复合类型</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="union.html" title="cpp/language/union"> 联合体类型</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 说明符</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="decltype.html" title="cpp/language/decltype"> <code>decltype</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="auto.html" title="cpp/language/auto"> <code>auto</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="alignas.html" title="cpp/language/alignas"> <code>alignas</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="cv.html" title="cpp/language/cv"> <code>const</code>/<code>volatile</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="constexpr.html" title="cpp/language/constexpr"> <code>constexpr</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="storage_duration.html" title="cpp/language/storage duration"> 存储期说明符</a></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 初始化</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="default_initialization.html" title="cpp/language/default initialization"> 默认初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="value_initialization.html" title="cpp/language/value initialization"> 值初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="zero_initialization.html" title="cpp/language/zero initialization"> 零初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="copy_initialization.html" title="cpp/language/copy initialization"> 复制初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="direct_initialization.html" title="cpp/language/direct initialization"> 直接初始化</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="aggregate_initialization.html" title="cpp/language/aggregate initialization"> 聚合初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="list_initialization.html" title="cpp/language/list initialization"> 列表初始化</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="constant_initialization.html" title="cpp/language/constant initialization"> 常量初始化</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="reference_initialization.html" title="cpp/language/reference initialization"> 引用初始化</a></td></tr>
</table></div></td></tr>
</table></div>
</div>
<div style="display:inline-block">
<div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv-h1"><td colspan="5"> 表达式</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="value_category.html" title="cpp/language/value category"> 值类别</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="eval_order.html" title="cpp/language/eval order"> 求值顺序</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="operators.html" title="cpp/language/operators"> 运算符</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="operator_precedence.html" title="cpp/language/operator precedence"> 运算符优先级</a></td></tr>
</table></div></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="operator_alternative.html" title="cpp/language/operator alternative"> 替代表示</a></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 字面量</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="bool_literal.html" title="cpp/language/bool literal"> 布尔</a> - <a href="integer_literal.html" title="cpp/language/integer literal"> 整数</a> - <a href="floating_literal.html" title="cpp/language/floating literal"> 浮点</a></td></tr>   
<tr class="t-nv"><td colspan="5"> <a href="character_literal.html" title="cpp/language/character literal"> 字符</a> - <a href="string_literal.html" title="cpp/language/string literal"> 字符串</a> - <a href="nullptr.html" title="cpp/language/nullptr"> <code>nullptr</code></a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr> 
<tr class="t-nv"><td colspan="5"> <a href="user_literal.html" title="cpp/language/user literal"> 用户定义</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 工具</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="attributes.html" title="cpp/language/attributes"> 属性</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 类型</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="typedef.html" title="cpp/language/typedef"> <code>typedef</code> 声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="type_alias.html" title="cpp/language/type alias"> 类型别名声明</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 类型转换</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="implicit_cast.html" title="cpp/language/implicit conversion"> 隐式转换</a> - <a href="explicit_cast.html" title="cpp/language/explicit cast"> 显式转换</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="static_cast.html" title="cpp/language/static cast"> <code>static_cast</code></a> - <a href="dynamic_cast.html" title="cpp/language/dynamic cast"> <code>dynamic_cast</code></a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="const_cast.html" title="cpp/language/const cast"> <code>const_cast</code></a> - <a href="reinterpret_cast.html" title="cpp/language/reinterpret cast"> <code>reinterpret_cast</code></a></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 内存分配</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="new.html" title="cpp/language/new"> <code>new</code> 表达式</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="delete.html" title="cpp/language/delete"> <code>delete</code> 表达式</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 类</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="class.html" title="cpp/language/class"> 类声明</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="constructor.html" title="cpp/language/initializer list"> 初始化器列表</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="this.html" title="cpp/language/this"> <code>this</code> 指针</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="access.html" title="cpp/language/access"> 访问说明符</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="friend.html" title="cpp/language/friend"> <code>friend</code> 说明符</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 特定于类的函数性质</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="virtual.html" title="cpp/language/virtual"> 虚函数</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="override.html" title="cpp/language/override"> <code>override</code> 指定符</a>  <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="final.html" title="cpp/language/final"> <code>final</code> 说明符</a>  <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="explicit.html" title="cpp/language/explicit"> <code>explicit</code></a>  <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="static.html" title="cpp/language/static"> <code>static</code></a> </td></tr>
</table></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> 特殊成员函数</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="default_constructor.html" title="cpp/language/default constructor"> 默认构造函数</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="copy_constructor.html" title="cpp/language/copy constructor"> 复制构造函数</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="move_constructor.html" title="cpp/language/move constructor"> 移动构造函数</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="copy_assignment.html" title="cpp/language/copy assignment"> 复制赋值</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="move_assignment.html" title="cpp/language/move assignment"> 移动赋值</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="destructor.html" title="cpp/language/destructor"> 析构函数</a></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 模板</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="class_template.html" title="cpp/language/class template"> 类模板</a></td></tr>
<tr class="t-nv"><td colspan="5"> <a href="function_template.html" title="cpp/language/function template"> 函数模板</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="template_specialization.html" title="cpp/language/template specialization"> 模板特化</a></td></tr>   
<tr class="t-nv"><td colspan="5"> <a href="parameter_pack.html" title="cpp/language/parameter pack"> 参数包</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span></td></tr>
</table></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> 杂项</td></tr>
<tr class="t-nv-col-table"><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="asm.html" title="cpp/language/asm"> 内联汇编</a></td></tr>
</table></div></td><td><div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="history.html" title="cpp/language/history"> C++ 的历史</a></td></tr>
</table></div></td></tr>
</table></div>
</div><div></div></div></div></div><div class="t-navbar-sep"> </div></div>
<p>下列码表含有全部 128 个 ASCII 十进制 <b>(dec)</b> 、八进制 <b>(oct)</b> 、十六进制 <b>(hex)</b> 及字符 <b>(ch)</b> 编码。
</p>
<table class="wikitable" style="text-align: left;">

<tr>
<th> <code>dec</code> </th>
<th> <code>oct</code> </th>
<th> <code>hex</code>
</th>
<th style="text-align: left;"> <code>ch</code>
</th>
<td rowspan="33">
</td>
<th> <code>dec</code> </th>
<th> <code>oct</code> </th>
<th> <code>hex</code>
</th>
<th style="text-align: left;"> <code>ch</code>
</th>
<td rowspan="33">
</td>
<th> <code>dec</code> </th>
<th> <code>oct</code> </th>
<th> <code>hex</code>
</th>
<th style="text-align: left;"> <code>ch</code>
</th>
<td rowspan="33">
</td>
<th> <code>dec</code> </th>
<th> <code>oct</code> </th>
<th> <code>hex</code>
</th>
<th style="text-align: left;"> <code>ch</code>
</th></tr>
<tr>
<td> <code> 0</code></td>
<td> <code>0</code></td>
<td><code>00</code></td>
<td><code><b>NUL</b></code> (空) </td>
<td> <code>32</code></td>
<td><code>40</code></td>
<td><code>20</code></td>
<td>(空格) </td>
<td> <code>64</code></td>
<td><code>100</code></td>
<td><code>40</code></td>
<td><code><b>@</b></code> </td>
<td> <code> 96</code></td>
<td><code>140</code></td>
<td><code>60</code></td>
<td><code><b>`</b></code>
</td></tr>
<tr>
<td> <code> 1</code></td>
<td> <code>1</code></td>
<td><code>01</code></td>
<td><code><b>SOH</b></code> (标题开始) </td>
<td> <code>33</code></td>
<td><code>41</code></td>
<td><code>21</code></td>
<td><code><b>!</b></code> </td>
<td> <code>65</code></td>
<td><code>101</code></td>
<td><code>41</code></td>
<td><code><b>A</b></code> </td>
<td> <code> 97</code></td>
<td><code>141</code></td>
<td><code>61</code></td>
<td><code><b>a</b></code>
</td></tr>
<tr>
<td> <code> 2</code></td>
<td> <code>2</code></td>
<td><code>02</code></td>
<td><code><b>STX</b></code> (正文开始) </td>
<td> <code>34</code></td>
<td><code>42</code></td>
<td><code>22</code></td>
<td><code><b>"</b></code> </td>
<td> <code>66</code></td>
<td><code>102</code></td>
<td><code>42</code></td>
<td><code><b>B</b></code> </td>
<td> <code> 98</code></td>
<td><code>142</code></td>
<td><code>62</code></td>
<td><code><b>b</b></code>
</td></tr>
<tr>
<td> <code> 3</code></td>
<td> <code>3</code></td>
<td><code>03</code></td>
<td><code><b>ETX</b></code> (正文结束) </td>
<td> <code>35</code></td>
<td><code>43</code></td>
<td><code>23</code></td>
<td><code><b>#</b></code> </td>
<td> <code>67</code></td>
<td><code>103</code></td>
<td><code>43</code></td>
<td><code><b>C</b></code> </td>
<td> <code> 99</code></td>
<td><code>143</code></td>
<td><code>63</code></td>
<td><code><b>c</b></code>
</td></tr>
<tr>
<td> <code> 4</code></td>
<td> <code>4</code></td>
<td><code>04</code></td>
<td><code><b>EOT</b></code> (传送结束) </td>
<td> <code>36</code></td>
<td><code>44</code></td>
<td><code>24</code></td>
<td><code><b>$</b></code> </td>
<td> <code>68</code></td>
<td><code>104</code></td>
<td><code>44</code></td>
<td><code><b>D</b></code> </td>
<td> <code>100</code></td>
<td><code>144</code></td>
<td><code>64</code></td>
<td><code><b>d</b></code>
</td></tr>
<tr>
<td> <code> 5</code></td>
<td> <code>5</code></td>
<td><code>05</code></td>
<td><code><b>ENQ</b></code> (询问) </td>
<td> <code>37</code></td>
<td><code>45</code></td>
<td><code>25</code></td>
<td><code><b>%</b></code> </td>
<td> <code>69</code></td>
<td><code>105</code></td>
<td><code>45</code></td>
<td><code><b>E</b></code> </td>
<td> <code>101</code></td>
<td><code>145</code></td>
<td><code>65</code></td>
<td><code><b>e</b></code>
</td></tr>
<tr>
<td> <code> 6</code></td>
<td> <code>6</code></td>
<td><code>06</code></td>
<td><code><b>ACK</b></code> (确认) </td>
<td> <code>38</code></td>
<td><code>46</code></td>
<td><code>26</code></td>
<td><code><b>&amp;</b></code> </td>
<td> <code>70</code></td>
<td><code>106</code></td>
<td><code>46</code></td>
<td><code><b>F</b></code> </td>
<td> <code>102</code></td>
<td><code>146</code></td>
<td><code>66</code></td>
<td><code><b>f</b></code>
</td></tr>
<tr>
<td> <code> 7</code></td>
<td> <code>7</code></td>
<td><code>07</code></td>
<td><code><b>BEL</b></code> (响铃) </td>
<td> <code>39</code></td>
<td><code>47</code></td>
<td><code>27</code></td>
<td><code><b>'</b></code> </td>
<td> <code>71</code></td>
<td><code>107</code></td>
<td><code>47</code></td>
<td><code><b>G</b></code> </td>
<td> <code>103</code></td>
<td><code>147</code></td>
<td><code>67</code></td>
<td><code><b>g</b></code>
</td></tr>
<tr>
<td> <code> 8</code></td>
<td><code>10</code></td>
<td><code>08</code></td>
<td><code><b>BS</b></code> (退格) </td>
<td> <code>40</code></td>
<td><code>50</code></td>
<td><code>28</code></td>
<td><code><b>(</b></code> </td>
<td> <code>72</code></td>
<td><code>110</code></td>
<td><code>48</code></td>
<td><code><b>H</b></code> </td>
<td> <code>104</code></td>
<td><code>150</code></td>
<td><code>68</code></td>
<td><code><b>h</b></code>
</td></tr>
<tr>
<td> <code> 9</code></td>
<td><code>11</code></td>
<td><code>09</code></td>
<td><code><b>HT</b></code> (横向制表) </td>
<td> <code>41</code></td>
<td><code>51</code></td>
<td><code>29</code></td>
<td><code><b>)</b></code> </td>
<td> <code>73</code></td>
<td><code>111</code></td>
<td><code>49</code></td>
<td><code><b>I</b></code> </td>
<td> <code>105</code></td>
<td><code>151</code></td>
<td><code>69</code></td>
<td><code><b>i</b></code>
</td></tr>
<tr>
<td> <code>10</code></td>
<td><code>12</code></td>
<td><code>0a</code></td>
<td><code><b>LF</b></code> (换行) </td>
<td> <code>42</code></td>
<td><code>52</code></td>
<td><code>2a</code></td>
<td><code><b>*</b></code> </td>
<td> <code>74</code></td>
<td><code>112</code></td>
<td><code>4a</code></td>
<td><code><b>J</b></code> </td>
<td> <code>106</code></td>
<td><code>152</code></td>
<td><code>6a</code></td>
<td><code><b>j</b></code>
</td></tr>
<tr>
<td> <code>11</code></td>
<td><code>13</code></td>
<td><code>0b</code></td>
<td><code><b>VT</b></code> (纵向制表) </td>
<td> <code>43</code></td>
<td><code>53</code></td>
<td><code>2b</code></td>
<td><code><b>+</b></code> </td>
<td> <code>75</code></td>
<td><code>113</code></td>
<td><code>4b</code></td>
<td><code><b>K</b></code> </td>
<td> <code>107</code></td>
<td><code>153</code></td>
<td><code>6b</code></td>
<td><code><b>k</b></code>
</td></tr>
<tr>
<td> <code>12</code></td>
<td><code>14</code></td>
<td><code>0c</code></td>
<td><code><b>FF</b></code> (换页) </td>
<td> <code>44</code></td>
<td><code>54</code></td>
<td><code>2c</code></td>
<td><code><b>,</b></code> </td>
<td> <code>76</code></td>
<td><code>114</code></td>
<td><code>4c</code></td>
<td><code><b>L</b></code> </td>
<td> <code>108</code></td>
<td><code>154</code></td>
<td><code>6c</code></td>
<td><code><b>l</b></code>
</td></tr>
<tr>
<td> <code>13</code></td>
<td><code>15</code></td>
<td><code>0d</code></td>
<td><code><b>CR</b></code> (回车) </td>
<td> <code>45</code></td>
<td><code>55</code></td>
<td><code>2d</code></td>
<td><code><b>-</b></code> </td>
<td> <code>77</code></td>
<td><code>115</code></td>
<td><code>4d</code></td>
<td><code><b>M</b></code> </td>
<td> <code>109</code></td>
<td><code>155</code></td>
<td><code>6d</code></td>
<td><code><b>m</b></code>
</td></tr>
<tr>
<td> <code>14</code></td>
<td><code>16</code></td>
<td><code>0e</code></td>
<td><code><b>SO</b></code> (移出) </td>
<td> <code>46</code></td>
<td><code>56</code></td>
<td><code>2e</code></td>
<td><code><b>.</b></code> </td>
<td> <code>78</code></td>
<td><code>116</code></td>
<td><code>4e</code></td>
<td><code><b>N</b></code> </td>
<td> <code>110</code></td>
<td><code>156</code></td>
<td><code>6e</code></td>
<td><code><b>n</b></code>
</td></tr>
<tr>
<td> <code>15</code></td>
<td><code>17</code></td>
<td><code>0f</code></td>
<td><code><b>SI</b></code> (移入) </td>
<td> <code>47</code></td>
<td><code>57</code></td>
<td><code>2f</code></td>
<td><code><b>/</b></code> </td>
<td> <code>79</code></td>
<td><code>117</code></td>
<td><code>4f</code></td>
<td><code><b>O</b></code> </td>
<td> <code>111</code></td>
<td><code>157</code></td>
<td><code>6f</code></td>
<td><code><b>o</b></code>
</td></tr>
<tr>
<td> <code>16</code></td>
<td><code>20</code></td>
<td><code>10</code></td>
<td><code><b>DLE</b></code> (退出数据链) </td>
<td> <code>48</code></td>
<td><code>60</code></td>
<td><code>30</code></td>
<td><code><b>0</b></code> </td>
<td> <code>80</code></td>
<td><code>120</code></td>
<td><code>50</code></td>
<td><code><b>P</b></code> </td>
<td> <code>112</code></td>
<td><code>160</code></td>
<td><code>70</code></td>
<td><code><b>p</b></code>
</td></tr>
<tr>
<td> <code>17</code></td>
<td><code>21</code></td>
<td><code>11</code></td>
<td><code><b>DC1</b></code> (设备控制1) </td>
<td> <code>49</code></td>
<td><code>61</code></td>
<td><code>31</code></td>
<td><code><b>1</b></code> </td>
<td> <code>81</code></td>
<td><code>121</code></td>
<td><code>51</code></td>
<td><code><b>Q</b></code> </td>
<td> <code>113</code></td>
<td><code>161</code></td>
<td><code>71</code></td>
<td><code><b>q</b></code>
</td></tr>
<tr>
<td> <code>18</code></td>
<td><code>22</code></td>
<td><code>12</code></td>
<td><code><b>DC2</b></code> (设备控制2) </td>
<td> <code>50</code></td>
<td><code>62</code></td>
<td><code>32</code></td>
<td><code><b>2</b></code> </td>
<td> <code>82</code></td>
<td><code>122</code></td>
<td><code>52</code></td>
<td><code><b>R</b></code> </td>
<td> <code>114</code></td>
<td><code>162</code></td>
<td><code>72</code></td>
<td><code><b>r</b></code>
</td></tr>
<tr>
<td> <code>19</code></td>
<td><code>23</code></td>
<td><code>13</code></td>
<td><code><b>DC3</b></code> (设备控制3) </td>
<td> <code>51</code></td>
<td><code>63</code></td>
<td><code>33</code></td>
<td><code><b>3</b></code> </td>
<td> <code>83</code></td>
<td><code>123</code></td>
<td><code>53</code></td>
<td><code><b>S</b></code> </td>
<td> <code>115</code></td>
<td><code>163</code></td>
<td><code>73</code></td>
<td><code><b>s</b></code>
</td></tr>
<tr>
<td> <code>20</code></td>
<td><code>24</code></td>
<td><code>14</code></td>
<td><code><b>DC4</b></code> (设备控制4) </td>
<td> <code>52</code></td>
<td><code>64</code></td>
<td><code>34</code></td>
<td><code><b>4</b></code> </td>
<td> <code>84</code></td>
<td><code>124</code></td>
<td><code>54</code></td>
<td><code><b>T</b></code> </td>
<td> <code>116</code></td>
<td><code>164</code></td>
<td><code>74</code></td>
<td><code><b>t</b></code>
</td></tr>
<tr>
<td> <code>21</code></td>
<td><code>25</code></td>
<td><code>15</code></td>
<td><code><b>NAK</b></code> (反确认) </td>
<td> <code>53</code></td>
<td><code>65</code></td>
<td><code>35</code></td>
<td><code><b>5</b></code> </td>
<td> <code>85</code></td>
<td><code>125</code></td>
<td><code>55</code></td>
<td><code><b>U</b></code> </td>
<td> <code>117</code></td>
<td><code>165</code></td>
<td><code>75</code></td>
<td><code><b>u</b></code>
</td></tr>
<tr>
<td> <code>22</code></td>
<td><code>26</code></td>
<td><code>16</code></td>
<td><code><b>SYN</b></code> (同步空闲) </td>
<td> <code>54</code></td>
<td><code>66</code></td>
<td><code>36</code></td>
<td><code><b>6</b></code> </td>
<td> <code>86</code></td>
<td><code>126</code></td>
<td><code>56</code></td>
<td><code><b>V</b></code> </td>
<td> <code>118</code></td>
<td><code>166</code></td>
<td><code>76</code></td>
<td><code><b>v</b></code>
</td></tr>
<tr>
<td> <code>23</code></td>
<td><code>27</code></td>
<td><code>17</code></td>
<td><code><b>ETB</b></code> (传输块结束) </td>
<td> <code>55</code></td>
<td><code>67</code></td>
<td><code>37</code></td>
<td><code><b>7</b></code> </td>
<td> <code>87</code></td>
<td><code>127</code></td>
<td><code>57</code></td>
<td><code><b>W</b></code> </td>
<td> <code>119</code></td>
<td><code>167</code></td>
<td><code>77</code></td>
<td><code><b>w</b></code>
</td></tr>
<tr>
<td> <code>24</code></td>
<td><code>30</code></td>
<td><code>18</code></td>
<td><code><b>CAN</b></code> (取消) </td>
<td> <code>56</code></td>
<td><code>70</code></td>
<td><code>38</code></td>
<td><code><b>8</b></code> </td>
<td> <code>88</code></td>
<td><code>130</code></td>
<td><code>58</code></td>
<td><code><b>X</b></code> </td>
<td> <code>120</code></td>
<td><code>170</code></td>
<td><code>78</code></td>
<td><code><b>x</b></code>
</td></tr>
<tr>
<td> <code>25</code></td>
<td><code>31</code></td>
<td><code>19</code></td>
<td><code><b>EM</b></code> (媒介结束) </td>
<td> <code>57</code></td>
<td><code>71</code></td>
<td><code>39</code></td>
<td><code><b>9</b></code> </td>
<td> <code>89</code></td>
<td><code>131</code></td>
<td><code>59</code></td>
<td><code><b>Y</b></code> </td>
<td> <code>121</code></td>
<td><code>171</code></td>
<td><code>79</code></td>
<td><code><b>y</b></code>
</td></tr>
<tr>
<td> <code>26</code></td>
<td><code>32</code></td>
<td><code>1a</code></td>
<td><code><b>SUB</b></code> (替换) </td>
<td> <code>58</code></td>
<td><code>72</code></td>
<td><code>3a</code></td>
<td><code><b>:</b></code> </td>
<td> <code>90</code></td>
<td><code>132</code></td>
<td><code>5a</code></td>
<td><code><b>Z</b></code> </td>
<td> <code>122</code></td>
<td><code>172</code></td>
<td><code>7a</code></td>
<td><code><b>z</b></code>
</td></tr>
<tr>
<td> <code>27</code></td>
<td><code>33</code></td>
<td><code>1b</code></td>
<td><code><b>ESC</b></code> (退出) </td>
<td> <code>59</code></td>
<td><code>73</code></td>
<td><code>3b</code></td>
<td><code><b>;</b></code> </td>
<td> <code>91</code></td>
<td><code>133</code></td>
<td><code>5b</code></td>
<td><code><b>[</b></code> </td>
<td> <code>123</code></td>
<td><code>173</code></td>
<td><code>7b</code></td>
<td><code><b>{</b></code>
</td></tr>
<tr>
<td> <code>28</code></td>
<td><code>34</code></td>
<td><code>1c</code></td>
<td><code><b>FS</b></code> (文件分隔符) </td>
<td> <code>60</code></td>
<td><code>74</code></td>
<td><code>3c</code></td>
<td><code><b>&lt;</b></code> </td>
<td> <code>92</code></td>
<td><code>134</code></td>
<td><code>5c</code></td>
<td><code><b>\ </b></code> </td>
<td> <code>124</code></td>
<td><code>174</code></td>
<td><code>7c</code></td>
<td><code><b>|</b></code>
</td></tr>
<tr>
<td> <code>29</code></td>
<td><code>35</code></td>
<td><code>1d</code></td>
<td><code><b>GS</b></code> (组分隔符) </td>
<td> <code>61</code></td>
<td><code>75</code></td>
<td><code>3d</code></td>
<td><code><b>=</b></code> </td>
<td> <code>93</code></td>
<td><code>135</code></td>
<td><code>5d</code></td>
<td><code><b>]</b></code> </td>
<td> <code>125</code></td>
<td><code>175</code></td>
<td><code>7d</code></td>
<td><code><b>}</b></code>
</td></tr>
<tr>
<td> <code>30</code></td>
<td><code>36</code></td>
<td><code>1e</code></td>
<td><code><b>RS</b></code> (记录分隔符) </td>
<td> <code>62</code></td>
<td><code>76</code></td>
<td><code>3e</code></td>
<td><code><b>&gt;</b></code> </td>
<td> <code>94</code></td>
<td><code>136</code></td>
<td><code>5e</code></td>
<td><code><b>^</b></code> </td>
<td> <code>126</code></td>
<td><code>176</code></td>
<td><code>7e</code></td>
<td><code><b>~</b></code>
</td></tr>
<tr>
<td> <code>31</code></td>
<td><code>37</code></td>
<td><code>1f</code></td>
<td><code><b>US</b></code> (单元分隔符) </td>
<td> <code>63</code></td>
<td><code>77</code></td>
<td><code>3f</code></td>
<td><code><b>?</b></code> </td>
<td> <code>95</code></td>
<td><code>137</code></td>
<td><code>5f</code></td>
<td><code><b>_</b></code> </td>
<td> <code>127</code></td>
<td><code>177</code></td>
<td><code>7f</code></td>
<td><code><b>DEL</b></code> (删除)
</td></tr></table>
<p>注意：在 Unicode 中， ASCII 字符块被称作 <a rel="nofollow" class="external text" href="http://www.unicode.org/charts/PDF/U0000.pdf"><code>U+0000..U+007F</code> 基础拉丁（ Basic Latin ）</a>。
</p>
<h3><span class="mw-headline" id=".E7.A4.BA.E4.BE.8B">示例</span></h3>
<div class="t-example"><div class="t-example-live-link"><div class="coliru-btn coliru-btn-run-init">运行此代码</div></div>
<div dir="ltr" class="mw-geshi" style="text-align: left;"><div class="cpp source-cpp"><pre class="de1"><span class="co2">#include &lt;iostream&gt;</span>
<span class="kw4">int</span> main<span class="br0">(</span><span class="br0">)</span>
<span class="br0">{</span>
    <a href="../io/cout.html"><span class="kw1758">std::<span class="me2">cout</span></span></a> <span class="sy1">&lt;&lt;</span> <span class="st0">"Printable ASCII:<span class="es1">\n</span>"</span><span class="sy4">;</span>
    <span class="kw1">for</span> <span class="br0">(</span><span class="kw4">char</span> i <span class="sy1">=</span> <span class="nu0">32</span><span class="sy4">;</span> i <span class="sy1">&lt;</span> <span class="nu0">127</span><span class="sy4">;</span> <span class="sy2">++</span>i<span class="br0">)</span> <span class="br0">{</span>
        <a href="../io/cout.html"><span class="kw1758">std::<span class="me2">cout</span></span></a> <span class="sy1">&lt;&lt;</span> i <span class="sy1">&lt;&lt;</span> <span class="st0">' '</span><span class="sy4">;</span>
        <span class="kw1">if</span> <span class="br0">(</span>i <span class="sy2">%</span> <span class="nu0">16</span> <span class="sy1">==</span> <span class="nu0">15</span><span class="br0">)</span>
            <a href="../io/cout.html"><span class="kw1758">std::<span class="me2">cout</span></span></a> <span class="sy1">&lt;&lt;</span> <span class="st0">'<span class="es1">\n</span>'</span><span class="sy4">;</span>
    <span class="br0">}</span>
<span class="br0">}</span></pre></div></div>
<p>可能的输出：
</p>
<div dir="ltr" class="mw-geshi" style="text-align: left;"><div class="text source-text"><pre class="de1">Printable ASCII:
  ! " # $ % &amp; ' ( ) * + , - . / 
0 1 2 3 4 5 6 7 8 9 : ; &lt; = &gt; ? 
@ A B C D E F G H I J K L M N O 
P Q R S T U V W X Y Z [ \ ] ^ _ 
` a b c d e f g h i j k l m n o 
p q r s t u v w x y z { | } ~</pre></div></div> 
</div>
<h3><span class="mw-headline" id=".E5.8F.82.E9.98.85">参阅</span></h3>
<table class="t-dsc-begin">

</table>

<!-- 
NewPP limit report
Preprocessor visited node count: 3579/1000000
Preprocessor generated node count: 9595/1000000
Post‐expand include size: 120152/2097152 bytes
Template argument size: 10448/2097152 bytes
Highest expansion depth: 15/40
Expensive parser function count: 0/100
-->

<!-- Saved in parser cache with key mwiki1-mwiki_zh_:pcache:idhash:842-0!*!0!!*!*!zh!* and timestamp 20190919030002 -->
</div>                    <!-- /bodycontent -->
                                        <!-- printfooter -->
                    <div class="printfooter">
                    来自“<a href="https://zh.cppreference.com/mwiki/index.php?title=cpp/language/ascii&amp;oldid=62719">https://zh.cppreference.com/mwiki/index.php?title=cpp/language/ascii&amp;oldid=62719</a>”                    </div>
                    <!-- /printfooter -->
                                                            <!-- catlinks -->
                    <!-- /catlinks -->
                                                            <div class="visualClear"></div>
                    <!-- debughtml -->
                                        <!-- /debughtml -->
                </div>
                <!-- /bodyContent -->
            </div>
        </div>
        <!-- /content -->
        <!-- footer -->
        <div id="cpp-footer-base" class="noprint">
            <div id="footer">
                        <div id="cpp-navigation">
            <h5>导航</h5>
            <ul><li><a href="https://zh.cppreference.com/w/cpp/language/ascii">Online version</a></li><li>Offline version retrieved 2020-03-14 18:00.</li></ul></div>
                        <ul id="footer-info">
                                    <li id="footer-info-lastmod"> 本页面最后修改于2019年9月18日 (星期三) 20:00。</li>
                                    <li id="footer-info-viewcount">此页面已被浏览过30,721次。</li>
                            </ul>
                    </div>
        </div>
        <!-- /footer -->
        <script>if(window.mw){
mw.loader.state({"site":"loading","user":"missing","user.groups":"ready"});
}</script>
<script src="../../../common/skin_scripts.js"></script>
<script>if(window.mw){
mw.loader.load(["mediawiki.action.view.postEdit","mediawiki.user","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.hidpi","ext.gadget.MathJax","ext.gadget.ColiruCompiler"], null, true);
}</script>
<script src="../../../common/site_scripts.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2828341-1']);
_gaq.push(['_setDomainName', 'cppreference.com']);
_gaq.push(['_trackPageview']);
</script><!-- Served in 0.070 secs. -->
	</body>
<!-- Cached 20190919044531 -->
</html>